package com.xdf.docmanagementsystem.service;

/**
 * @program: doc-management-system
 * @description: 验证接口
 * @author: Zhang
 * @create: 2020-06-30 10:20
 **/
public interface ValidateService<T> {
    boolean shouldInsert(T item) throws Exception;

    boolean shouldUpdate(T item) throws Exception;

    boolean shouldDelete(T item) throws Exception;
}
